package com.chx.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author cp-月入过万
 * @Date 2025/5/30
 */
@Data
public class PurchaseOrderDetailDto implements Serializable {
    //商品ID，外键关联商品表
    @ApiModelProperty("商品ID")
    private Long productId;

    //采购价格
    @ApiModelProperty("采购价格")
    private Double purchasePrice;

    //采购数量
    @ApiModelProperty("采购数量")
    private Long quantity;

    //小计金额
    @ApiModelProperty("小计金额")
    private Double subtotal;
}
